Package-level declarations

Types

Link copied to clipboard
enum Action : Enum<Action>

Defines an action the user or server owner needs to take if a setting is changed. Actions are sorted in priority by their ordinal (RESTART is the highest priority action and so on).

Link copied to clipboard
annotation class AdminAccess(val perms: Array<String>, val fallback: Int = -1)

Paired with WithCustomPerms. Defines the permissions needed for "admin" access to the config.

Link copied to clipboard
annotation class BlockArray(val itemsPerLine: Int = 1)

Java-field-friendly version of TomlBlockArray

Link copied to clipboard

Marks the annotated config entry as modifiable by any player, not just Ops.

Link copied to clipboard
annotation class Comment(val value: String)

Java field-friendly version of TomlComment

Link copied to clipboard
@Target(allowedTargets = [AnnotationTarget.CLASS])
annotation class ConvertFrom(val fileName: String, val folder: String = "", val subfolder: String = "")

Provides the path to an old config file used before updating to FzzyConfig. FzzyConfig will attempt to read the file and scrape as much data as possible from it into the new config class and format (TOML).

Link copied to clipboard
@Target(allowedTargets = [AnnotationTarget.CLASS])
annotation class IgnoreVisibility

A config marked with this annotation will attempt to ignore field visibility when de/serialization

Link copied to clipboard
annotation class Inline

Java field-friendly version of TomlInline

Link copied to clipboard
annotation class Integer(val base: TomlInteger.Base = TomlInteger.Base.Dec, val group: Int = 0)

Java field-friendly version of TomlInteger

Link copied to clipboard
annotation class LiteralString

Java field-friendly version of TomlLiteralString

Link copied to clipboard
annotation class MultilineString

Java field-friendly version of TomlMultilimeString

Link copied to clipboard
annotation class NonSync

Excludes an element of a Config from synchronization.

Link copied to clipboard

Properties fields marked with RequiresAction will prompt the user that changes will require a certain action as defined by the Action enum selected

Link copied to clipboard

Properties or fields marked with RequiresRestart will prompt the user that changes will require a restart of the server/client

Link copied to clipboard
@SerialInfo
@Target(allowedTargets = [AnnotationTarget.CLASS])
annotation class TomlHeaderComment(val text: String)

Adds a Comment to the Version key of a config file.

Link copied to clipboard
annotation class Translation(val prefix: String, val negate: Boolean = false)

Defines a custom translation key prefix for the annotated members, or all members of the annotated class.

Link copied to clipboard
@Target(allowedTargets = [AnnotationTarget.CLASS])
annotation class Version(val version: Int)

Defines the version of the config file.

Link copied to clipboard
annotation class WithCustomPerms(val perms: Array<String>, val fallback: Int = -1)

Paired with AdminAccess Applies custom permission restrictions to a config setting. Overridden by ClientModifiable

Link copied to clipboard
annotation class WithPerms(val opLevel: Int = 3)

Applies permission restrictions to a config setting.